﻿using Abp.AutoMapper;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace CPPProject.CPP.Dto
{
    /***********************/
    /*序列号配置*/
    /***********************/
    [AutoMapTo(typeof(CPPSequence))]
    public class CreateCPPSequenceDto
    {
        /// <summary>
        /// 序列号标识
        /// </summary>
        [Required, MaxLength(50)]
        public string Seq_Name { get; set; }
        /// <summary>
        /// 序列号名称
        /// </summary>
        [Required, MaxLength(50)]
        public string Seq_Desc { get; set; }
        /// <summary>
        /// 序列号起始字母
        /// </summary>
        [Required, MaxLength(50)]
        public string Leading_Str { get; set; }
        /// <summary>
        /// 序列号中间数字填充位数
        /// </summary>
        [Required, MaxLength(50)]
        public string Formatter { get; set; }
        /// <summary>
        /// 序列号跨度
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 序列号
        /// </summary>
        public int Last_Value { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(50)]
        public string Remark { get; set; }
    }
}
